﻿<phone:PhoneApplicationPage 
    x:Class="QuickTasks.Views.Message.SendEmail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
       xmlns:wb="clr-namespace:QuickTasks"
       xmlns:my="clr-namespace:Microsoft.Advertising.Mobile.UI;assembly=Microsoft.Advertising.Mobile.UI"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="728" d:DesignWidth="480"
    shell:SystemTray.IsVisible="False">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel Orientation="Horizontal"  Grid.Row="0" Margin="12,17,0,28">
            <TextBlock x:Name="ApplicationTitle" Text="QUICK TASKS - SEND EMAIL" Style="{StaticResource PhoneTextNormalStyle}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
              
            </Grid.RowDefinitions>
            <StackPanel Orientation="Horizontal" Grid.Row="0">
                <TextBlock Text="Subject"  FontSize="28" Margin="10,0,0,0" Width="150"/>
                <TextBlock Text="Required" x:Name="tblkSubjectValidation" FontSize="28" Foreground="Red" Visibility="Collapsed"/>
            </StackPanel>
            <TextBox x:Name="tbxSubject"   Grid.Row="1" InputScope="Text"/>
            <StackPanel Orientation="Horizontal" Grid.Row="2" Height="100">
                <TextBlock Text="Select CC"   FontSize="28" Margin="10,30,0,0" Width="250"/>
                <Image Source="/Images/MobileNoSelection.png"  Width="49" Height="49" MouseLeftButtonDown="ThemeableImage_MouseLeftButtonDown1"  Margin="25,0,0,0"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Grid.Row="3"  Height="100">
                <TextBlock Text="Select Recipient"  FontSize="28" Margin="10,30,0,0" Width="250"/>
                <TextBlock Text="Required" FontSize="28" Foreground="Red" x:Name="tblkRecipientEmailValidation" Visibility="Collapsed" Margin="0,0,0,0"/>
                <Image Source="/Images/MobileNoSelection.png"  Width="49" Height="49" MouseLeftButtonDown="ThemeableImage_MouseLeftButtonDown"  Margin="25,0,0,0"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Grid.Row="4">
                <TextBlock Text="Message" FontSize="28"  Margin="10,0,0,0" Width="150"/>
                <TextBlock Text="Required"  x:Name="tblkMessageValidation" Foreground="Red" FontSize="28" HorizontalAlignment="Right" Visibility="Collapsed"/>
            </StackPanel>
            <TextBox x:Name="tbxEmailmessage"  InputScope="Text" Height="225" Grid.Row="5"/>
            <!--<StackPanel Name="adstackpanel" Grid.Row="6" Margin="0,0,0,0" HorizontalAlignment="Center" VerticalAlignment="Top"></StackPanel>-->
           
        </Grid>
        <StackPanel Name="adstackpanel" Grid.Row="2" VerticalAlignment="Bottom" Margin="-15,32,0,0"></StackPanel>
    </Grid>
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/email.png" Text="send" Click="ApplicationBarIconButton_Click"/>
          
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>
